package com.ssm.service.impl;

import com.ssm.dao.TeacherMapper;
import com.ssm.entity.Course;
import com.ssm.entity.Teacher;
import com.ssm.service.TeacherService;
import org.apache.ibatis.transaction.Transaction;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Lenovo on 2019-10-8.
 */
@Service
public class TeacherServiceImpl  {
    @Autowired
    private TeacherMapper teacherMapper;

//    @Override
//    public Teacher login(String name, String pwd) {
//        return teacherMapper.login(name, pwd);
//    }
//
//    @Override
//    public List<Teacher> list() {
//        return teacherMapper.list();
//    }

//    @Override
//    public Teacher selectCoursesById(int id) {
//
//        return teacherMapper.selectCourseById(id);
//
//    }
//
//    @Override
//    public List<Teacher> list() {
//        return teacherMapper.list();
//    }
//
//    @Override
    public void print() {
        System.out.println("teacher list");
    }

}
